package org.example.pojo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

@Data
public class PromotionInfoIdsParam {
    //推广状态
    @NotNull(message = "项目id不能为null")
    private int[] ids;
    //当前页码
    @NotNull(message = "页码不能为空")
    @Range(min = 1, max = 10000, message = "页码错误")
    private Integer pageNum;//当前页码
    //每页条数
    @NotNull(message = "不能为空")
    @Range(min = 1, max = 1000, message = "每页条数错误")
    private Integer pageSize;//每页条数
}
